package com.cuit.demo2.dao;

import com.cuit.demo2.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepositorey extends JpaRepository<User,Long> {
    User findByUsernameAndPassword(String username, String password);
}
